--- ctags-5.8.org/Makefile.in	2013-09-16 18:51:00.067050506 +0000
+++ ctags-5.8/Makefile.in	2013-09-16 19:01:52.706027078 +0000
@@ -85,17 +85,18 @@
 #
 CTAGS_EXEC	= $(CTAGS_PROG)$(EXEEXT)
 ETAGS_EXEC	= $(ETAGS_PROG)$(EXEEXT)
-DEST_CTAGS	= $(bindir)/$(CTAGS_EXEC)
-DEST_ETAGS	= $(bindir)/$(ETAGS_EXEC)
-DEST_READ_LIB	= $(libdir)/$(READ_LIB)
-DEST_READ_INC	= $(incdir)/$(READ_INC)
-DEST_CMAN	= $(man1dir)/$(CMAN)
-DEST_EMAN	= $(man1dir)/$(EMAN)
+DEST_CTAGS	= $(DESTDIR)$(bindir)/$(CTAGS_EXEC)
+DEST_ETAGS	= $(DESTDIR)$(bindir)/$(ETAGS_EXEC)
+DEST_READ_LIB	= $(DESTDIR)$(libdir)/$(READ_LIB)
+DEST_READ_INC	= $(DESTDIR)$(incdir)/$(READ_INC)
+DEST_CMAN	= $(DESTDIR)$(man1dir)/$(CMAN)
+DEST_EMAN	= $(DESTDIR)$(man1dir)/$(EMAN)
+DESTS=$(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(libdir) $(DESTDIR)$(incdir)
 
 #
 # primary rules
 #
-all: $(CTAGS_EXEC) $(READ_LIB)
+all: $(CTAGS_EXEC) $(READ_LIB) $(DESTS)
 
 $(CTAGS_EXEC): $(OBJECTS)
 	$(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(LIBS)
@@ -118,15 +119,16 @@
 #
 # generic install rules
 #
-install: @install_targets@
+
+install: $(DESTS) @install_targets@
 
 install-strip: install
 
 install-ctags: install-cbin install-cman
 install-etags: install-ebin install-eman
 
-$(bindir) $(man1dir) $(libdir) $(incdir):
-	$(srcdir)/mkinstalldirs $@
+$(DESTS):
+	mkdir -p $@
 
 FORCE:
 
